
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.CureMethod;
import cn.edu.scau.cmi.hombio.domain.CureTaskMethod;
import cn.edu.scau.cmi.hombio.domain.CureType;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for CureType entities
 * 
 */
public interface CureTypeService {

	/**
	 */
	public CureType findCureTypeByPrimaryKey(Integer id);

	/**
	* Delete an existing CureTaskMethod entity
	* 
	 */
	public CureType deleteCureTypeCureTaskMethods(Integer curetype_id, Integer related_curetaskmethods_id);

	/**
	* Save an existing CureTaskMethod entity
	* 
	 */
	public CureType saveCureTypeCureTaskMethods(Integer id_1, CureTaskMethod related_curetaskmethods);

	/**
	* Delete an existing CureType entity
	* 
	 */
	public void deleteCureType(CureType curetype);

	/**
	* Return a count of all CureType entity
	* 
	 */
	public Integer countCureTypes();

	/**
	* Load an existing CureType entity
	* 
	 */
	public Set<CureType> loadCureTypes();

	/**
	* Delete an existing CureMethod entity
	* 
	 */
	public CureType deleteCureTypeCureMethods(Integer curetype_id_1, Integer related_curemethods_id);

	/**
	* Save an existing CureMethod entity
	* 
	 */
	public CureType saveCureTypeCureMethods(Integer id_2, CureMethod related_curemethods);

	/**
	* Return all CureType entity
	* 
	 */
	public List<CureType> findAllCureTypes(Integer startResult, Integer maxRows);

	/**
	* Save an existing CureType entity
	* 
	 */
	public void saveCureType(CureType curetype_1);
}